package com.kfm.wiki.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kfm.wiki.entity.Category;
import com.kfm.wiki.entity.Ebook;

import java.util.List;

/**
* @author 10854
* @description 针对表【category(分类)】的数据库操作Service
* @createDate 2022-12-15 16:20:09
*/
public interface CategoryService extends IService<Category> {

    PageInfo<Category> list(Integer current, Integer pageSize, Category category);

    List<Tree<String>> all(Category category);

    boolean save(Category category);
}
